const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  sites: state => state.user.sites,
  balance: state => state.user.balance,               //账户金额
  totalInAmount: state => state.user.totalInAmount,   //充值总额
  customAmount: state => state.user.customAmount,     //已消费金额
  userInfo: state => state.user.userInfo,             //用户信息
  config: state => state.user.config,
  invoiceList: state => state.finance.invoiceList,      //发票列表
  words:state => state.promote.words,                    //违禁词列表
  globalData: state=> state.global.globalData,
  officialNet: state=> state.user.officialNet,
  officialNetName: state=> state.user.officialNetName,

}
export default getters
